using Handday.Erp.Transfer.Enum;
using System;

namespace Handday.Erp.Transfer.Entities
{
    /// <summary>
    /// 8项交易源数据
    /// </summary>
    public class EightTradingSource : TransferEntity
    {
        /// <summary>
        /// 单据类型:1.销售出库单、2.销售换货单、3.销售退货单
        /// </summary>
        public BillTypeEnum BillType { get; set; }

        /// <summary>
        /// 录单时间
        /// </summary>
        public DateTimeOffset InputTime { get; set; }

        /// <summary>
        /// 记账时间
        /// </summary>
        public DateTimeOffset? AccountTime { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string BillNO { get; set; }

        /// <summary>
        /// 单据ID
        /// </summary>
        public ulong BillId { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public ulong CustomId { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomName { get; set; }

        /// <summary>
        /// 价税合计
        /// </summary>
        public decimal BillAmount { get; set; }
    }
}
